﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Zzva.Common
{

    public abstract class TProgress
    {

        protected TProgressBar mvarProgressBar;
        protected TProgressMen mvarFather;

        public TProgress(TProgressBar pProgressBar, TProgressMen pFather)
        {
            mvarProgressBar = pProgressBar;
            mvarFather = pFather;

        }


        public virtual void SetMess(string Mess)
        {
        }

        public virtual void SetPosition(string Mess)
        {
        }

    }




    public class TProgressMainControlNot : TProgress
    {

        public TProgressMainControlNot(TProgressBar pProgressBar, TProgressMen pFather) :
            base(pProgressBar, pFather)
        {
        }

        public override void SetMess(string Mess)
        {
            mvarProgressBar.lblMessMain.Text = Mess;
     
        }

                

    }


   


    public class TProgressMen
    {

        public static TProgressBar mvarProgressBar;


        public static void  GetProgress()
        {
        }


    }
}
